<template>
  <div class="app-container home">
    <el-row :gutter="20">
      <el-col :sm="24" :lg="24">
      </el-col>
    </el-row>
    <el-row :gutter="20">
      <el-col :sm="6" :lg="6" style="padding-left: 20px">
        <el-card class="box-card card_1_body" style="min-height: 1em;" align="middle" onclick="">
          <span class="card_title">老系统数据源</span>
          <div class="el-card__body mid">
            <span class="card_num">56</span>
            <span class="card_unit">个</span>
          </div>
        </el-card>
      </el-col>

      <el-col :sm="6" :lg="6" style="padding-left: 20px">
        <el-card class="box-card card_2_body" style="min-height: 1em;" align="middle" onclick="">
          <span class="card_title">元数据模型</span>
          <div class="el-card__body mid">
            <span class="card_num">123</span>
            <span class="card_unit">个</span>
          </div>
        </el-card>
      </el-col>

      <el-col :sm="6" :lg="6" style="padding-left: 20px">
        <el-card class="box-card card_3_body" style="min-height: 1em;" align="middle" onclick="">
          <span class="card_title">主题数据模型</span>
          <div class="el-card__body mid">
            <span class="card_num">78</span>
            <span class="card_unit">个</span>
          </div>
        </el-card>
      </el-col>

      <el-col :sm="6" :lg="6" style="padding-left: 20px">
        <el-card class="box-card card_4_body" style="min-height: 1em;" align="middle" onclick="">
          <span class="card_title">应用数量</span>
          <div class="el-card__body mid">
            <span class="card_num">12</span>
            <span class="card_unit">个</span>
          </div>
        </el-card>
      </el-col>
    </el-row>
    <el-divider />
    <el-row :gutter="20">
      <el-col :sm="6" :lg="16" style="padding-left: 20px">
        <barLineIndex></barLineIndex>
      </el-col>
      <el-col :sm="6" :lg="8" style="padding-left: 20px">
        <chartIndex></chartIndex>
      </el-col>
    </el-row>
    <el-row :gutter="20"  v-show="false">
      <el-col :xs="24" :sm="24" :md="12" :lg="8">
        <el-card class="update-log">
        </el-card>
      </el-col>
      <el-col :xs="24" :sm="24" :md="12" :lg="8">
        <el-card class="update-log">
        </el-card>
      </el-col>
      <el-col :xs="24" :sm="24" :md="12" :lg="8">
        <el-card class="update-log">
        </el-card>
      </el-col>
    </el-row>
    <el-divider />
    <el-row :gutter="20">
      <bigScreenList v-show="false"></bigScreenList>
    </el-row>
  </div>
</template>

<script>
import barLineIndex from "./report/index-report/Bar-Line-Task";
import bigScreenList from "./big-screen/big-screen-list";
import chartIndex from "./report/index-report/ChartIndex";

export default {
  name: "index",
  components: {
      barLineIndex,
      bigScreenList,
      chartIndex
  },
  data() {
    return {
      // 版本号
      version: "2.5.0",
    };
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    },
  },
};
</script>

<style scoped lang="scss">
.home {
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }
  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }
  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }

  .update-log {
    ol {
      display: block;
      list-style-type: decimal;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      padding-inline-start: 40px;
    }
  }

  .el-card {
    min-width: 25%;
    margin-right: 0px;
    transition: all .5s;
  }
  .el-card:hover{
    margin-top: -5px;
  }

  .text {
    font-size: 14px;
  }

  .item {
    margin-bottom: 18px;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }
  .clearfix:after {
    clear: both
  }
  .card_1_body{
    background-color: #67C23A;
  }
  .card_2_body{
    background-color: #E6A23C;
  }
  .card_3_body{
    background-color: #F56C6C;
  }
  .card_4_body{
    background-color: #909399;
  }
  .card_num{
    color: #f3e109;
    font-size: 60px;
    font-weight:800;
  }
  .card_unit{
    color: #ffffff;
    font-size: 18px;
  }
  .el-card__body{
    padding: 5px 20px 5px 20px !important;
  }
  .card_title{
    color: #ffffff;
    font-size: 18px;
  }
}
</style>

